#coding:utf-8
'''这个模块还没有写好'''
from encSear import encSearBase
import pycurl
import re
__metaclass__=type #新式类

class xmd5(encSearBase):
  def __init__(self):
    super(xmd5,self).__init__(url='http://www.xmd5.com/md5/search.asp',
                 patt=r'(?<=line\-height\:25px">).*?(?=</span><br>)',
                 isP=False,
                 data='hash=FUZZ&xmd5=MD5+%BD%E2%C3%DC')      
    self.rq.setopt(pycurl.REFERER,'http://www.xmd5.com/')
    
# curl "http://www.xmd5.com/md5/search.asp?hash=463C8A7593A8A79078CB5C119424E62A&xmd5=MD5+%BD%E2%C3%DC" -e "http://www.xmd5.com/" -H "X-Forwarded-For: 123.32.4.5,123.23.4.6,10.3.4.6" --proxy 127.0.0.1:8080 --cookie "ASPSESSIONIDSACDTRBQ=FGMLCNDAILDBFABMPKBOGOGP; bdshare_firstime=1383199784488; AJSTAT_ok_pages=1; AJSTAT_ok_times=1"    

#curl "http://www.c0llision.net/webcrack/request" "hash%5B_input_%5D=463C8A7593A8A79078CB5C119424E62A&hash%5B_csrf_token%5D=52f63374d2e46ce45afbca8911d03b65"